SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '854a145f345c7eb68dcd774ccbe8ae151b8217558b2a1c409c95b9866ab867fb' 
  AND token = 'oO3nFSlBmJ5XRZVo7IXSboeOkGHkmJbgnkStKmP0Ul8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00041

JSON explain

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