SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '301f3db44d69fef306b2ca2a5bd6613cc1af2d8e8a34d6561a729074df125997' 
  AND token = 'm7p/FqC1ishvK0Hnf556OGECJEs8ZN/m3H14VjyKgMM=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00024

JSON explain

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