SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'a0979867c926f1e506cc96efcd5d477f0da2fd4cbe9158a5fcdbc257b37599a7' 
  AND token = 'WESWOIaP3nAj38aouf9Yx3rk6BB6DyNER3UfYuIZ/UM=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00025

JSON explain

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