SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '1ed7331cf037f5deaf972ce9c0c97e391bf640e077c8d586803568260f812079' 
  AND token = 'RY18OEnqIbyiqdBxo0cG3xZGyrhR9al/zXltP/7nJUw=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00039

JSON explain

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