SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'cfaf1bf63e1924f0515d54ccee6cacae3ea2f5a47cd89bc124dd1e81aeb242f9' 
  AND token = 'r8AQUMN8X+aaZDSGl0n2aD6a5iqfj9NQk3hJ6aBEZMw=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00031

JSON explain

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