SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '2f7ecbc101b775f199f61c33032e024aa623eec1bd2270c8b871d43c1bc57b05' 
  AND token = 'qRrhfVa5r7T4Uf7Aw31YEvEDdfIxXmgOP+0Q5XJSxtY=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00020

JSON explain

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