SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '97bbb1b8b2dd377c541613695ff259577d06a636c28ccad6eb1adc1921b96e95' 
  AND token = 'tCk6EAK/14DcLv41HE0yByqBtUD47oOnztYinS960YE=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00017

JSON explain

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