SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '38c7a52cd61c56cd3a9433b41075f6bac0b7dd34b45acf393f5af84277a6d567' 
  AND token = '2DZ8nb2I9AEOaMFf2DfhZzT8CLDbHW5SMak6AHpNAEE=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00038

JSON explain

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