SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd0b359dea75735d02029f499833d4042a4bf5a16dc8cac998e42a2555ac7c8ca' 
  AND token = '0b70QMnMvr7Ub1lDlzk9PDGkM2Co1QFOYSJiEgJ8eWI=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00029

JSON explain

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