SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '2ee36c855ee2a199143498053e32cc6bc38cb97fe3394bc49e0a3fff7a37fc0f' 
  AND token = 'SGOPJ0i8IHDxdAlKQu7bPp4gftDo/V7I/ymbSVQQFCg=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00030

JSON explain

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