SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '4b947703679c45f41c432d4db0f3bb662bab345d8a791240e93ffdc6c0d73064' 
  AND token = 'aC8G3hmuqIZHmMO8vKQCcJ6b707gM4XCvQNcY33qh80=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00073

JSON explain

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