SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '1d8db9a5355fa92ede1420dea979789a5e44f5f7cfcefb8627055d831fef64e5' 
  AND token = 'i6BzNy1r0LfrnNxwUj916/HFj84ozPYjqnelKOmqVxw=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00049

JSON explain

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