SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '1157856612cb2166d6b08627b35f5eb158ff7f42ec6e048e4289f2587bb18bc8' 
  AND token = 'hRP52YahHrkJkHDnJGpfrA1O4jlHf7Rd3nZ94wvsFzQ=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00025

JSON explain

{
  "query_block": {
    "select_id": 1,
    "message": "no matching row in const table"
  }
}