SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '4ad65abea1eeb742f229b303ddb6898600ff2ca58d08445aeb653a7116154d0f' 
  AND token = 'ud+7TkNWltPcWfA7c121396wwIq8ptcHDrL2JmQ25B8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00025

JSON explain

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