SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'dad994807508412bbfe904d3c3e4e4d3bcd6363318e412c4c23b8c60f56a217a' 
  AND token = 'RCmT4EdfwJbC+mxR5MAB5AaUvBc1uHpvlL/Tmr+xHqI=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00052

JSON explain

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