SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'bdc1227414effbd4465c1bfbb5467d0f2bb99872c38bff4c969b8952eeb8ff23' 
  AND token = 'uBt7p3CRAiu6Z+4PHEdkVOGOBfMlsh8bEPEM6M7Tzms=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00023

JSON explain

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